package com.ruoyi.wms.mapper;

import java.util.List;

import com.ruoyi.wms.domain.StockTransfer;

/**
 * 库存调拨Mapper接口
 *
 * @author ruoyi
 * @date 2025-10-24
 */
public interface StockTransferMapper {
    /**
     * 查询库存调拨
     *
     * @param id 库存调拨主键
     * @return 库存调拨
     */
    public StockTransfer selectStockTransferById(String id);

    /**
     * 查询库存调拨列表
     *
     * @param stockTransfer 库存调拨
     * @return 库存调拨集合
     */
    public List<StockTransfer> selectStockTransferList(StockTransfer stockTransfer);

    /**
     * 新增库存调拨
     *
     * @param stockTransfer 库存调拨
     * @return 结果
     */
    public int insertStockTransfer(StockTransfer stockTransfer);

    /**
     * 修改库存调拨
     *
     * @param stockTransfer 库存调拨
     * @return 结果
     */
    public int updateStockTransfer(StockTransfer stockTransfer);

    /**
     * 删除库存调拨
     *
     * @param id 库存调拨主键
     * @return 结果
     */
    public int deleteStockTransferById(String id);

    /**
     * 批量删除库存调拨
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStockTransferByIds(String[] ids);
}
